package com.hzw.saas.web.admin.hpc.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

/**
 * <p>
 *
 * </p>
 *
 * @author sonam
 * @since 2021/2/26 17:36
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel("HPC供应商参数")
public class HpcProviderParam {

    @ApiModelProperty(name = "供应商ID，添加时不传", position = 1)
    private String providerId;

    @NotBlank(message = "HPC供应商名称不能为空")
    @ApiModelProperty(name = "HPC供应商名称", required = true, position = 2)
    private String providerName;

    @NotBlank(message = "HPC供应商提供的用户名不能为空")
    @ApiModelProperty(name = "HPC供应商提供的用户名", required = true, position = 3)
    private String userName;

    @NotBlank(message = "HPC供应商提供的密码不能为空")
    @ApiModelProperty(name = "HPC供应商提供的密码", required = true, position = 4)
    private String password;

    @NotBlank(message = "HPC供应商CODE不能为空")
    @ApiModelProperty(name = "HPC供应商CODE，DQ01，DN02", required = true, position = 5)
    private String providerCode;
}
